package unit1;

import student.Student;

import java.util.ArrayList;
import java.util.Collection;
import java.util.LinkedList;

public class CollectionTest {
    public static void main(String[] args){
        Object o = new ArrayList();
        Collection c = new ArrayList();
        Student stu1 = new Student("干丽娟","计信一班", "计算机信息管理");
        Student stu3 = new Student("沙翰林","计信一班","计算机信息管理");
        Student stu2 = new Student("石立文","计信二班","计算机信息管理");
        LinkedList<Student> ll = null;
        ll.addFirst(stu1);
        ll.addFirst(stu2);
        ll.addFirst(stu3);
        ll.add(stu2);
    }
}
